import { Global, Module } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { User } from '@app/db/entities/User';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserWalletLog } from '@app/db/entities/UserWalletLog';
import { UploadModule } from 'apps/common/src/upload/upload.module';

@Global()
@Module({
  imports : [TypeOrmModule.forFeature([User, UserWalletLog]), UploadModule],
  providers: [UserService],
  controllers: [UserController],
  exports : [UserService]
})
export class UserModule {}
